package com.opc.Service;

import org.eclipse.milo.opcua.sdk.client.OpcUaClient;
import org.eclipse.milo.opcua.sdk.client.nodes.UaNode;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OpcUaService {
    int subscribe(OpcUaClient client, List<String> nodeIds) throws Exception;
   // Map<NodeId, Object>
   String[] browseNode(OpcUaClient client, UaNode uaNode) throws Exception;

    OpcUaClient createClient() throws Exception;
}  